<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/2/16 0016
 * Time: 23:37
 */

namespace app\Lib\InterfaceIn\User;


use app\Lib\InterfaceIn\Role\RoleHandle;

interface OperationUserBase
{
    /**
     * 设置账号
     * @param $account
     * @return $this
     */
    public function setAccount($account);

    /**
     * 手机号
     * @param $mobilephone
     * @return $this
     */
    public function setMobilephone($mobilephone);

    /**
     * 微信登录标识
     * @param $weixin
     * @return $this
     */
    public function setWeixin($weixin);

    /**
     * 性别
     * @param $sex
     * @return $this
     */
    public function setSex($sex);

    /**
     * 注册ip
     * @param $regIp
     * @return $this
     */
    public function setRegIp($regIp);

    /**
     * 生日
     * @param $birthday
     * @return $this
     */
    public function setBirthday($birthday);

    /**
     * 设置名称
     * @param $nickname
     * @return $this
     */
    public function setNickname($nickname);

    /**
     * 设置qq号码
     * @param $qqNumber
     * @return $this
     */
    public function setQqNumber($qqNumber);

    /**
     * 微信号码
     * @param $weixinNumber
     * @return $this
     */
    public function setWeixinNumber($weixinNumber);

    /**
     * 邮箱
     * @param $eMail
     * @return $this
     */
    public function setEMail($eMail);

    /**
     * 账号是否禁用
     * @param $status
     * @return mixed
     */
    public function setAccountStatus($status);

    public function setPassword($password);

    /**
     * 修改用户的id
     * @param $uid
     * @return $this
     */
    public function setUid($uid);

    public function setOpUser( UserHandle $opUser);

    public function setRole(RoleHandle $role);

    /**
     * 设置用户私有权限
     * @param $auth
     * @return mixed
     */
    public function setAuth($auth);
}